package com.pick.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

/**
 * 分配用户权限请求DTO
 *
 * @author pick
 * @since 2024-01-01
 */
@Data
@Schema(description = "分配用户权限请求")
public class AssignUserPermissionsRequest {

    @Schema(description = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "权限ID列表", required = true)
    @NotNull(message = "权限ID列表不能为空")
    private List<Long> permissionIds;
}
